import { get, post, put, del, download } from './api'


export const getCarStores = () => get('/bk/carStoreList')

export const getCarBrands = () => get('/bk/getCarBrand')

export const getCarSeriesById = params => get('/bk/getCarSeriesById', params)

export const getYears = (params) => get('/bk/getCarYears', params)

export const getModel = (params) => get('/bk/getCarModel', params)

export const editCars = (params) => post('/bk/editCar', params)

export const login = params => post('/bk/login', params)

export const getCars = params => get('/bk/cars', params)

export const delCar = params => del('/bk/delCar', params)